
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import '../config/axios'

// 将axios挂载到Vue实例,在组件中可以直接使用
Vue.prototype.$axios = axios
Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
